snippet     math
abbr        $ expression $
    $${1:expression}$${2}

snippet     begin
    \begin{${1:type}}
       ${2}
   \end{$1}
   ${0}

snippet     \begin
    \begin{${1:type}}
       ${2}
   \end{$1}
   ${0}
